package com.kuang.vo;

/**
 * 微信用户信息vo
 */
public class WeixinDataVo implements java.io.Serializable {


    //主键
    private Long userId;
    // 微信登陆的code
    private String code;
    // 微信登陆成功以后opend
    private String openid;
    // 微信用户的头像
    private String avatarUrl;
    // 微信用户的城市
    private String city;
    // 微信用户的国家
    private String country;
    // 微信用户的性别1男 0女
    private Integer gender;
    // 微信用户的昵称
    private String nickName;
    // 微信用户的省份
    private String province;
    // 生成的token
    private String token;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public WeixinDataVo(Long userId, String code, String openid, String avatarUrl, String city, String country, Integer gender, String nickName, String province, String token) {
        this.userId = userId;
        this.code = code;
        this.openid = openid;
        this.avatarUrl = avatarUrl;
        this.city = city;
        this.country = country;
        this.gender = gender;
        this.nickName = nickName;
        this.province = province;
        this.token = token;
    }

    public WeixinDataVo() {
    }

    public WeixinDataVo(Long userId, String code, String openid, String avatarUrl, String city, String country, Integer gender, String nickName, String province) {
        this.userId = userId;
        this.code = code;
        this.openid = openid;
        this.avatarUrl = avatarUrl;
        this.city = city;
        this.country = country;
        this.gender = gender;
        this.nickName = nickName;
        this.province = province;
    }

    @Override
    public String toString() {
        return "WeixinDataVo{" +
                "userId=" + userId +
                ", code='" + code + '\'' +
                ", openid='" + openid + '\'' +
                ", avatarUrl='" + avatarUrl + '\'' +
                ", city='" + city + '\'' +
                ", country='" + country + '\'' +
                ", gender=" + gender +
                ", nickName='" + nickName + '\'' +
                ", province='" + province + '\'' +
                ", token='" + token + '\'' +
                '}';
    }
}

